Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[PowerBI] Decouple addin settings, default "Show zoom bar" to true #2342

Merged
merged 11 commits into from
Nov 29, 2024

Conversation

encimita
Copy link
Contributor

@encimita encimita commented Nov 12, 2024

Summary

The Power BI Embedded control add-in currently supports a bunch of different settings that change the embed experience making it richer and more customizable.
These settings are currently controlled with the SetSettings add-in function, which takes a bunch of booleans. This is of course not very readable nor very extensible.

This PR cleans up the code for these settings by having a different function to set up each setting. It also flips the default for the "Show Status Bar" setting to true; this is for accessibility reasons, as full-page reports might not be accessible or "navigable" without the zoom controls.

Work Item(s)

Fixes AB#556723

@encimita encimita marked this pull request as ready for review November 26, 2024 14:33
@encimita encimita requested a review from a team as a code owner November 26, 2024 14:33
dawidwoz
dawidwoz previously approved these changes Nov 28, 2024
@encimita encimita dismissed stale reviews from dawidwoz and mynjj via a18e3f9 November 28, 2024 15:52
Copy link

@AndersLarsenMicrosoft AndersLarsenMicrosoft left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

all good. but remember i am an AL developer

@ayrtonmassey ayrtonmassey self-requested a review November 29, 2024 12:57
@AndersLarsenMicrosoft AndersLarsenMicrosoft self-assigned this Nov 29, 2024
Copy link

@AndersLarsenMicrosoft AndersLarsenMicrosoft left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

there we are :-)

@encimita encimita merged commit 9b1c029 into main Nov 29, 2024
26 checks passed
@encimita encimita deleted the private/encimita/PBIEmbedSettings branch November 29, 2024 14:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants